﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Data;
using System.Data.SqlClient;
using FileConvertPdfSystemDAL;
using FileConvertPdfSystemModel;

namespace FileConvertPdfSystemBLL
{
    public class LoginUserFileDownBLL
    {
        public int Add_LoginUserFileDown(LoginUserFileDown FileDown)
        {
            LoginUserFileDownDAL FileDownDAL = new LoginUserFileDownDAL();
            return FileDownDAL.Add_LoginUserFileDown(FileDown);
        }
        public void Delete_LoginUserFileDown(int nID)
        {
            LoginUserFileDownDAL FileDownDAL = new LoginUserFileDownDAL();
            FileDownDAL.Delete_LoginUserFileDown(nID);
        }

        public LoginUserFileDown Get_SingleLoginUserFileDown(string Username)
        {
            LoginUserFileDownDAL FileDownDAL = new LoginUserFileDownDAL();
            return FileDownDAL.Get_SingleLoginUserFileDown(Username);
        }
        public DataSet Get_LoginUserFileDown(string UserName)
        {
            LoginUserFileDownDAL FileDown = new LoginUserFileDownDAL();
            return FileDown.Get_File(UserName);
        }

    }
}
